package com.fafa.pos.vo;

/**
 * Created by ZhouBing on 2017/8/10.
 *
 * 全局状态
 */
public class Status {


    private boolean isOffLine = false;
    private boolean defaultPrint = true;
    private static Status status = new Status();
    private Status(){};

    public boolean isOffLine() {
        return isOffLine;
    }

    public boolean isDefaultPrint() {
        return defaultPrint;
    }

    public void setDefaultPrint(boolean defaultPrint) {
        this.defaultPrint = defaultPrint;
    }

    public static Status getStatus() {
        return status;
    }

    public void setOffLine(boolean offLine) {
        isOffLine = offLine;
    }
}
